import BaseEnum from '@/core/utils/BaseEnum'
import BaseEnumValue from '@/core/utils/BaseEnumValue'

class IamAccountEventRecordEventTypeEnum extends BaseEnum<number> {
	REGISTER = new BaseEnumValue<number>(0, '注册')
	LOGIN = new BaseEnumValue<number>(1, '登录')
	MODIFY_PASSWORD = new BaseEnumValue<number>(2, '修改密码')
	constructor() {
		super(['REGISTER', 'LOGIN', 'MODIFY_PASSWORD'])
	}
}

const enumModel = new IamAccountEventRecordEventTypeEnum()

export default enumModel
